.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.dataScreen-container {
  width: 100%;
  height: 100%;
  background: #001237;
  color: #ffffff;
  font-family: PingFang HK, PingFang HK;
  .dataScreen-content {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: all 0.3s;
    transform-origin: left top;
    width: 100%;
    height: 100%;
    .dataScreen-header {
      height: 85px;
      width: 100%;
      padding: 0 36px;
      border: 1px solid;
      border-image: linear-gradient(270deg, rgba(0, 176, 255, 0), #00faff, rgba(0, 176, 255, 0)) 1 1;
      .header-lf {
        font-weight: 400;
        font-size: 24px;
        color: #e2e7f9;
      }
      .header-ct {
        font-weight: 600;
        font-size: 40px;
        text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.25);
        text-align: left;
        font-style: normal;
        text-transform: none;
        width: 585px;
        height: 92px;
        letter-spacing: 12px;
        background: url('../images/header-bg.png') no-repeat;
        background-size: 100% 100%;
        display: flex;
        align-items: center;
        justify-content: center;
      }
      .header-ri {
        font-size: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        .header-time {
          margin-right: 10px;
        }
      }
    }
    .dataScreen-main {
      display: flex;
      flex: 1;
      margin: 0 20px 20px;
      .panel-title {
        width: 100%;
        text-align: center;
      }
      .main-lf {
        height: 100%;
        width: 450px;
        .dataScreen-top,
        .dataScreen-center,
        .dataScreen-bottom {
          position: relative;
          box-sizing: border-box;
          width: 100%;
          // margin-bottom: 20px;
        }
        .dataScreen-top {
          display: flex;
          align-items: center;
          justify-content: center;
          height: 380px;
          display: flex;
          flex-direction: column;
          background: url('../images/dataScreen-main-lt.png') no-repeat;
          background-size: 100% 100%;
          // padding-top: 80px;
          .screen-panel_title {
            height: 30px;
            width: 272px;
            background: url('../images/panel-title.png') no-repeat;
            background-size: 100% 100%;
            margin-top: 60px;
            .title {
              font-weight: 600;
              font-size: 20px;
              color: #00eff4;
              margin-bottom: 30px;
            }
          }
          .basic-statistics {
            padding: 0 100px;
            width: 100%;
            height: 80px;
            .basic-statistics-item {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              font-family: PingFang HK, PingFang HK;
              font-weight: 400;
              font-size: 16px;
              color: #e2e7f9;
              .count {
                font-weight: 500;
                font-size: 24px;
                color: #00dee3;
                margin-bottom: 8px;
              }
            }
          }
        }
        .dataScreen-center {
          height: 323px;
          background: url('../images/dataScreen-main-lc.png') no-repeat;
          background-size: 100% 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          display: flex;
          flex-direction: column;
          margin-top: -20px;
          .screen-panel_title {
            height: 30px;
            width: 272px;
            background: url('../images/panel-title.png') no-repeat;
            background-size: 100% 100%;
            margin-top: 25px;
            .title {
              font-weight: 600;
              font-size: 20px;
              color: #00eff4;
              margin-bottom: 30px;
            }
          }
          .basic-statistics {
            width: 100%;
            .basic-statistics-item {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              margin: 0 5px;
              height: 180px;
              width: 109px;
              .count {
                margin-top: 20px;
                position: absolute;
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
              }
            }
          }
        }
        .dataScreen-bottom {
          height: 326px;
          background: url('../images/dataScreen-main-lb.png') no-repeat;
          background-size: 100% 100%;
          display: flex;
          align-items: center;
          justify-content: center;
          display: flex;
          flex-direction: column;
          margin-top: -20px;
          .screen-panel_title {
            height: 30px;
            width: 272px;
            background: url('../images/panel-title.png') no-repeat;
            background-size: 100% 100%;
            margin-top: 25px;
            .title {
              font-weight: 600;
              font-size: 20px;
              color: #00eff4;
              margin-bottom: 30px;
            }
          }
        }
      }
      .main-ct {
        height: 100%;
        flex: 1;
        display: flex;
        flex-direction: column;
        margin-top: 40px;
        .dataScreen-top {
          font-family: PingFang HK, PingFang HK;
          .top-box {
            .tabs-box {
              padding: 0 200px;
              margin-bottom: 35px;
              .tabs-box-item {
                width: 280px;
                height: 50px;
                cursor: pointer;
                background: url('../images/tab-item1.png') no-repeat;
                background-size: 100% 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                font-weight: 500;
                font-size: 24px;
                color: #00eff4;
              }
            }
            .statistics-box {
              display: flex;
              justify-content: space-between;
              .statistics-box-item {
                display: flex;
                flex-direction: column;
                justify-content: center;
                align-items: center;
                font-size: 24px;
                color: #00eff4;
                .item-title {
                  margin-bottom: 18px;
                  .item-img {
                    width: 28px;
                    height: 30px;
                    margin-right: 10px;
                  }
                }
                .item-num {
                  .num-bg {
                    margin-right: 10px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    width: 40px;
                    height: 56px;
                    background: radial-gradient(500px at 100% 50%, rgba(0, 222, 227, 0.28) 0%, #00dee3 100%);
                    border-radius: 0px 0px 0px 0px;
                    border: 1px solid #00dee3;
                  }
                }
              }
            }
            .top-box-main {
              display: flex;
              gap: 18px;
              margin-top: 30px;
              .title-box {
                display: flex;
                justify-content: center;
                align-items: center;
                width: 290px; /* 底部宽度 */
                height: 0; /* 高度为0 */
                border-top: 40px solid #004966; /* 顶部边框 */
                border-left: 12px solid transparent; /* 左侧边框 */
                border-right: 12px solid transparent; /* 右侧边框 */
                margin-left: 25px;
                .title {
                  margin-top: -40px;
                }
              }
              .ranking-list-box {
                // display: flex;
                // justify-content: center;
                width: 343px;
                height: 470px;
                background: #002e4c;
                border-radius: 12px 12px 12px 12px;
                position: relative;
                .main {
                  // display: flex;
                  .item {
                    margin-left: 10px;
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                    height: 40px;
                    .index-img {
                      width: 28px;
                      height: 28px;
                    }
                    .index-num {
                      width: 30px;
                      display: flex;
                      justify-content: center;
                      align-items: center;
                    }
                    .class {
                      margin: 0 12px;
                    }
                    .progress {
                      &.bg-line {
                        background-color: #003653;
                      }
                      &.bg {
                        width: 140px;
                        height: 12px;
                        border-radius: 16px;
                        background-color: #003653;
                        display: flex;
                        align-items: center;
                      }
                      .inner {
                        height: 100%;
                        border-radius: 16px;
                        transition: all 0.5s cubic-bezier(0, 0.64, 0.36, 1);
                      }

                      .line {
                        width: 90%;
                        background: linear-gradient(256deg, #4770ec 0%, #25aff5 46%, #02f1fe 100%);
                      }
                    }
                    .num {
                      margin-left: 8px;
                    }
                  }
                }
              }
              .days-attendance {
                display: flex;
                justify-content: center;
                flex-wrap: wrap;
                flex: 1;
                height: 470px;
                background: #002e4c;
                border-radius: 12px 12px 12px 12px;
              }
            }
          }
        }
        .dataScreen-bottom {
          width: 100%;
          height: 250px;
          background: url('../images/dataScreen-main-cb.png') no-repeat;
          background-size: 100% 100%;
          padding: 40px;
          position: relative;
          // margin-left: -20px;
          // margin-right: 40px;
          .tab-box {
            display: flex;
            margin-bottom: 20px;
            .tab-item {
              width: 118px;
              height: 40px;
              border-radius: 10px 10px 10px 10px;
              border: 1px solid #abc0ce;
              margin-right: 20px;
              color: #abc0ce;
              cursor: pointer;
              .active {
                position: absolute;
                width: 153px;
                height: 75px;
                background: url('../images/tab-item-active.png') no-repeat;
                background-size: 100% 100%;
              }
            }
          }
          .scroll-box {
            width: 900px;
            // background: red;
            overflow: hidden;
            .scroll-box-wrap {
              display: flex;
              .item {
                flex-direction: column;
                width: 82px;
                display: flex;
                justify-content: center;
                align-items: center;
                .img-box {
                  width: 77px;
                  height: 77px;
                  .index-img {
                    width: 77px;
                    height: 77px;
                  }
                }
                .name {
                  text-align: center;
                  width: 82px;
                  overflow:hidden; //超出的文本隐藏
                  text-overflow:ellipsis; //溢出用省略号显示
                  white-space:nowrap; //溢出不换行
                }
              }
            }
          }
        }
      }
      .main-ri {
        height: 100%;
        width: 450px;
        .dataScreen-top,
        .dataScreen-center {
          position: relative;
          box-sizing: border-box;
          width: 100%;
          padding-bottom: 20px;
        }
        .dataScreen-top {
          display: flex;
          align-items: center;
          // justify-content: center;
          height: 538px;
          display: flex;
          flex-direction: column;
          background: url('../images/dataScreen-main-rt1.png') no-repeat;
          background-size: 100% 100%;
          padding: 0 20px;
          padding-bottom: 40px;
          .screen-panel_title {
            height: 30px;
            width: 272px;
            background: url('../images/panel-title.png') no-repeat;
            background-size: 100% 100%;
            margin-top: 60px;
            .title {
              font-weight: 600;
              font-size: 20px;
              color: #00eff4;
              margin-bottom: 30px;
            }
          }
          .item-box {
            overflow: hidden;
            width: 100%;
            .scroll-box-wrap {
              margin: 0 20px;
              width: 100%;
              .item {
                position: relative;
                width: 90%;
                height: 109px;
                background: rgba(255, 116, 85, 0.28);
                box-shadow: inset 2px 6px 36px 0px rgba(255, 116, 85, 0.4), inset -2px -6px 36px 0px rgba(255, 116, 85, 0.4);
                border-radius: 12px 12px 12px 12px;
                margin-bottom: 24px;
                padding: 16px 20px;
                display: flex;
                align-items: center;
                .item-img {
                  width: 77px;
                  height: 85px;
                  margin-right: 20px;
                }
                .name {
                  font-size: 20px;
                }
                .time {
                  margin: 5px 0;
                }
              }
            }
          }
        }
        .dataScreen-center {
          display: flex;
          align-items: center;
          // justify-content: center;
          height: 480px;
          display: flex;
          flex-direction: column;
          background: url('../images/dataScreen-main-rt1.png') no-repeat;
          background-size: 100% 100%;
          margin-top: -30px;
          .screen-panel_title {
            height: 30px;
            width: 272px;
            background: url('../images/panel-title.png') no-repeat;
            background-size: 100% 100%;
            margin-top: 25px;
            .title {
              font-weight: 600;
              font-size: 20px;
              color: #00eff4;
              margin-bottom: 30px;
            }
          }
          .basic-statistics {
            padding: 0 40px;
            width: 100%;
            .basic-statistics-item {
              display: flex;
              flex-direction: column;
              align-items: center;
              justify-content: center;
              .count {
                font-weight: 500;
                font-size: 24px;
                color: #00dee3;
                margin-bottom: 8px;
              }
            }
          }
          .item-box {
            overflow: hidden;
            width: 100%;
            .table-header {
              display: flex;
              justify-content: center;
              .header-item {
                width: 95px;
                height: 36px;
                background: #00455f;
                border-radius: 0px 0px 0px 0px;
                border: 1px solid #00455f;
                margin: 0 3px;
                display: flex;
                align-items: center;
                justify-content: center;
              }
            }
            .table-main {
              .main-item {
                display: flex;
                align-items: center;
                justify-content: center;
                width: 100%;
                border-bottom: 1px solid #0a517e;
                .item {
                  flex: 1;
                  display: flex;
                  align-items: center;
                  justify-content: center;
                  height: 50px;
                  &.status {
                    color: #ffd052;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
  .no-data-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .dataScreen-main-chart {
    flex: 1;
    width: 90%;
    height: 100%;
  }
}
